 import { get,post } from "../request/index";

//需要token的接口
// export const login =(data)=> post('/login', data)

//不需要token接口为false，否则为true

export const submitData = (data) => {
	return post("/api/front/delivery/person/settle", data, false);
};


// 1.查询车牌
export const getCarNo = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getCarNo", data, false);
};
// 2.查询车型
export const getCarModel = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getCarModel", data, false);
};

// 3.查询电池基本信息
export const getBatteryBaseData = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getBatteryBaseData", data, false);
};

// 4.查询车辆综合评分及电池级别、剩余容量
export const getCarScore = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getCarScore", data, false);
};
// 5.查询健康评估指标分析
export const getHealthAssAnalysis = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getHealthAssAnalysis", data, false);
};
// 6.查询订单分析
export const getOrderAnalysis = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getOrderAnalysis", data, false);
};
// 7.最大温升速率变化趋势
export const getMaxTempRiseRate = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getMaxTempRiseRate", data, false);
};
// 8.单体最高温度变化趋势
export const getSignalMaxTemp = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getSignalMaxTemp", data, false);
};
// 9.单体最高温度分布
export const getSignalMaxTempDist = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getSignalMaxTempDist", data, false);
};
// 10.单体最高电压变化趋势
export const getSignalMaxVoltage = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getSignalMaxVoltage", data, false);
};
// 11.单体最高电压分布
export const getSignalMaxVoltageDist = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getSignalMaxVoltageDist", data, false);
};
// 12.查询soc一致性
export const getSocConsistency = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getSocConsistency", data, false);
};
// 13.温度一致性
export const getTempConsistency = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getTempConsistency", data, false);
};
// 14.查询电压一致性
export const getVoltageConsistency = (data) => {
	return get("/charge4gv2/wechat/getHealthReport/getVoltageConsistency", data, false);
};


//json格式接口
// export const login = (data) => {
// 	return post("/xxx", data, true，'json');
// };

